package com.cgsrp.cgsrp_community.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.cgsrp.cgsrp_user_province.domain.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlogComment implements Serializable {
    /**
    * 评论表
    */
    private Integer id;

    /**
    * 评论id
    */
    private Integer blogId;

    /**
    * 用户id
    */
    private Integer userId;

    /**
    * 内容
    */
    private String content;

    /**
    * 评论时间
    */
    private Date createTime;

    /**
    * 父评论id
    */
    private Integer parentCommentId;

    private List<BlogComment> childComments;

    private User user;
}
